package com.example.esp8266;

import com.google.gson.annotations.SerializedName;

public class AliyunClipboardBean {


    @SerializedName("ProductKey")
    private String productKey;
    @SerializedName("DeviceName")
    private String deviceName;
    @SerializedName("DeviceSecret")
    private String deviceSecret;

    public AliyunClipboardBean() {
    }

    public AliyunClipboardBean(String productKey, String deviceName, String deviceSecret) {
        this.productKey = productKey;
        this.deviceName = deviceName;
        this.deviceSecret = deviceSecret;
    }

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceSecret() {
        return deviceSecret;
    }

    public void setDeviceSecret(String deviceSecret) {
        this.deviceSecret = deviceSecret;
    }

    public MqttParamsWrapper transform(){
        return new MqttParamsWrapper(
                productKey,
                deviceName,
                deviceSecret
        );
    }
}
